package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.*;

/**
 * Controls the robot.
 * @author Team Pronto
 */
public class RobotTemplate extends IterativeRobot {

    Joystick leftStick, rightStick, shootStick;
    ProntoDrive movement;
    ProntoShooter shooter;
    ProntoBalance balancer;

    public void robotInit() {
        leftStick = new Joystick(1);
        rightStick = new Joystick(2);
        shootStick = new Joystick(3);
                
        movement = new ProntoDrive(leftStick, rightStick);
        shooter = new ProntoShooter(shootStick);
        balancer = new ProntoBalance(shootStick);

    }

    public void autonomousPeriodic() {
    }

    public void teleopPeriodic() {
        movement.tank();
        shooter.shoot();
        shooter.height();
        shooter.rotate();
        balancer.balance();
    }
}
